<?php
define('ROOT_PATH', dirname(__DIR__));
define('LIB_PATH', ROOT_PATH . DS . 'libs');
define('CMD_PATH', ROOT_PATH . DS . 'commands');
define('CONF_PATH', ROOT_PATH . DS . 'config');
define('VENDOR_PATH', ROOT_PATH . DS . 'vendor');
define('JSON_FILEPATH', ROOT_PATH . DS . 'config.json');
include_once VENDOR_PATH . DS . 'autoload.php';
include_once CONF_PATH . DS . 'version.php';
$maps = include_once CONF_PATH . DS . 'maps.php';
$config = json_decode(file_get_contents(JSON_FILEPATH));
define('ossAccessKeyId', $config->ossAccessKeyId);
define('ossAccessKeySecret', $config->ossAccessKeySecret);
define('ossEndpoint', $config->ossEndpoint);
